-- card: 23193 from stack: in -- bmap block id: 24974 -- flags: 0000 -- background id: 2665 -- name: -- part 1 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=343 top=131 right=153 bottom=443 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: SELFED ----- HyperTalk script ----- on mouseUp delete line 1 of card field F1 delete line 1 of card field F2 repeat 32 times put random of 32 into it if it<=8 then add 1 to card field F2 else add 1 to card field F1 end repeat add the value of card field F1 to card field F3 add the value of card field F2 to card field F4 end mouseUp -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=362 top=174 right=197 bottom=417 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: F1 -- part 3 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=362 top=203 right=226 bottom=417 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: F2 -- part 4 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=361 top=256 right=279 bottom=416 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: F3 -- part 5 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=362 top=286 right=309 bottom=417 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: F4 -- part 6 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=362 top=22 right=44 bottom=416 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: RESET ----- HyperTalk script ----- on mouseUp delete line 1 of card field F1 delete line 1 of card field F2 delete line 1 of card field F3 delete line 1 of card field F4 end mouseUp -- part 7 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=339 top=313 right=335 bottom=439 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: CHI SQUARE ----- HyperTalk script ----- on mouseUp global bagone global bagtwo put the value of card field F3 into "bagone" put the value of card field F4 into "bagtwo" go to card id 25732 put 0 into card field class1 put 0 into card field class2 put 0 into card field class3 put 0 into card field class4 put 0 into card field F5 put 0 into card field F6 put 0 into card field F7 put 0 into card field F8 put bagone into card field "CLASS1" put bagtwo into card field "CLASS2" end mouseUp -- part 8 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=164 top=315 right=337 bottom=264 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: SUB HEADINGS ----- HyperTalk script ----- on mouseUp go to card id 9665 end mouseUp -- part contents for background part 1 ----- text ----- MONOHYBRID CROSS -- part contents for background part 2 ----- text ----- In this cross, a scarlet eyed fly is crossed with a normal, wild type fly. In the F1, all individuals have the normal or wild type eye. Run the program to obtain an F2 and from the data, see if you can determine the mechanism of inheritance for this characteristic. You may need to run the program several times before statistically significant data is obtained to permit an accurate estimate of the mechanism. To do this, simply click a second time on the SELFED button. Note, to clear data from the entire program, click on the selfed button. -- part contents for card part 4 ----- text ----- 46 -- part contents for card part 5 ----- text ----- 18 -- part contents for card part 2 ----- text ----- 23 -- part contents for card part 3 ----- text ----- 9